import 'package:flutter/material.dart';

cardWidget({
  double? height,
  double? width,
  Widget? widget,
  EdgeInsetsGeometry? margin,
  EdgeInsetsGeometry? padding
}){
  return Container(
    width: width,
    height: height,
    padding: padding,
    margin: margin ?? EdgeInsets.only(bottom: 10,),
    decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(10),
        boxShadow: [
          BoxShadow(
            color: Colors.grey.shade300,
            blurRadius: 10.0,
            spreadRadius: 1.0,
          ),
        ]
    ),
    child: widget,
  );
}